package com.action;

import com.man.AnnounceCtrl;

public class AdminAnnounceDeleteAction {
	private int announceId;

	public int getAnnounceId() {
		return announceId;
	}

	public void setAnnounceId(int announceId) {
		this.announceId = announceId;
	}
	public String execute() {
		AnnounceCtrl announceCtrl=new AnnounceCtrl();
		announceCtrl.deleteItem(announceId);
		announceCtrl.close();
		return "success";
	}
}
